package com.xxx.meter.model.data.swt;

import java.util.List;

public class SwitchEntry {

    private String userName;

    private List<DataItemEntry> data;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setData(List<DataItemEntry> data) {
        this.data = data;
    }

    public String getUserName() {
        return userName;
    }

    public List<DataItemEntry> getData() {
        return data;
    }

    public static class DataItemEntry {

        private String equipmentkey;

        private String equipmenttypekey;

        private Long openTime;

        private Long closeTime;

        public void setEquipmentkey(String equipmentkey) {
            this.equipmentkey = equipmentkey;
        }

        public void setEquipmenttypekey(String equipmenttypekey) {
            this.equipmenttypekey = equipmenttypekey;
        }

        public void setCloseTime(Long closeTime) {
            this.closeTime = closeTime;
        }

        public void setOpenTime(Long openTime) {
            this.openTime = openTime;
        }

        public String getEquipmenttypekey() {
            return equipmenttypekey;
        }

        public String getEquipmentkey() {
            return equipmentkey;
        }

        public Long getCloseTime() {
            return closeTime;
        }

        public Long getOpenTime() {
            return openTime;
        }
    }

}
